package com.lyn.tool.mvp.view.activity;

import android.os.Bundle;
import androidx.annotation.Nullable;
import com.lyn.tool.databinding.ActivityLaunchpageBinding;
import com.lyn.tool.mvp.contract.MainContract;
import com.lyn.tool.mvp.other.Result;
import com.lyn.tool.mvp.presenter.MainPresenter;
import com.lyn.tool.utils.FileUtil;

/**
 * 启动类
 */
public class LaunchPageActivity extends BaseActivity<ActivityLaunchpageBinding> implements MainContract.View {


    @Override
    public ActivityLaunchpageBinding getViewBinding() {
        return ActivityLaunchpageBinding.inflate(getLayoutInflater());
    }

    @Override
    public void create(@Nullable Bundle savedInstanceState) {
        MainPresenter mainPresenter = new MainPresenter(this);
        mainPresenter.init();

    }

    @Override
    public void onLoading() {

    }

    @Override
    public void onHideLoading() {

    }

    @Override
    public void onResult(Result result) {
        jump(MainActivity.class, true);
    }
}
